﻿namespace GoodAdmin.System;

public class PositionAddInput:SysPosition
{
    /// <summary>
    /// 名称
    /// </summary>
    [Required(ErrorMessage = "Name不能为空")]
    public override string Name { get; set; }

    /// <summary>
    /// 分类
    /// </summary>
    [Required(ErrorMessage = "Category不能为空")]
    public override string Category { get; set; }
}

public class PositionUpdateInput : PositionAddInput
{
    [Required(ErrorMessage = "Id不能为空")]
    public override long Id { get; set; }
}

public class PositionPageInput : BasePageInput
{
    public string Category { get; set; }
    public string PositionName { get; set; }
}

public class PositionSelectorInput 
{
    public string PositionName { get; set; }
}